using SharpKit.JavaScript;

namespace SharpKit.Rx
{
	[SharpKit.JavaScript.JsType(Name="Rx.IObserver",Mode=SharpKit.JavaScript.JsMode.Prototype,Export=false,IgnoreGenericMethodArguments=true,AutomaticPropertiesAsFields=true,IgnoreGenericTypeArguments=true,PropertiesAsFields=true)]
	public interface IObserver<in T>
	{
		void OnCompleted();
		void OnError(JsError exception);
		void OnNext(T value);
	}
}